package com.onlinevideo.dao;

import com.onlinevideo.entity.Category;


import java.util.List;

public interface CategoryDao {
    int insert(Category category);

    int delete(Long id);

    int update(Category category);

    Category queryById(Long id);

    Category queryByCategory(String categoryName);

    List<Category> queryAll();
}
